package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 需求单对象 lm_require
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmRequire extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 需求分类 */
    @Excel(name = "需求分类")
    private String requireType;

    /** 需求分类名称 */
    @Excel(name = "需求分类名称")
    private String requireTypeName;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 需求标题 */
    @Excel(name = "需求标题")
    private String requireTitle;

    /** 需求主图 */
    @Excel(name = "需求主图")
    private String requirePic;

    /** 需求发布省份 */
    //@Excel(name = "需求发布省份")
    private String requireProvince;

    /** 需求发布省份 */
    @Excel(name = "需求发布省份名称")
    private String provinceName;

    /** 需求发布城市 */
    //@Excel(name = "需求发布城市")
    private String requireCity;

    /** 需求发布城市 */
    @Excel(name = "需求发布城市名称")
    private String cityName;

    /** 需求发布区域 */
    @Excel(name = "需求发布区域")
    private String requireDist;

    /** 需求发布区域 */
    @Excel(name = "需求发布区域名称")
    private String distName;

    /** 需求描述 */
    @Excel(name = "需求描述")
    private String requireDesc;

    /** 需求发布内容 */
    @Excel(name = "需求发布内容")
    private String requireContent;

    /** 需求发布图片 */
    @Excel(name = "需求发布图片")
    private String requireImages;

    /** 需求预算 */
    @Excel(name = "需求预算")
    private Integer requirePrice;

    /** 需求联系方式 */
    @Excel(name = "需求联系方式")
    private String requireTel;

    /** 选择联系方式（0打电话，1报名） */
    @Excel(name = "选择联系方式", readConverterExp = "0=打电话，1报名")
    private String requireChoice;

    /** 是否匿名（0是1否） */
    @Excel(name = "是否匿名", readConverterExp = "0=是1否")
    private String isNoname;

    /** 点击量 */
    @Excel(name = "点击量")
    private Integer clickNum;

    /** 需求状态 */
    @Excel(name = "需求状态")
    private String requireStatus;

    /** 下架原因 */
    @Excel(name = "下架原因")
    private String requireReason;

    private String type; // 1全部(默认时间倒叙)，2浏览最多，3最新，4单价从高到低

    // 点击拨打电话次数
    private Integer clickPhoneNum;

    /**
     * 报名人数
     */
    private Long signNum;

    //用户头像
    private String userPic;
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRequireType(String requireType) 
    {
        this.requireType = requireType;
    }

    public String getRequireType() 
    {
        return requireType;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setRequireTitle(String requireTitle) 
    {
        this.requireTitle = requireTitle;
    }

    public String getRequireTitle() 
    {
        return requireTitle;
    }
    public void setRequireProvince(String requireProvince) 
    {
        this.requireProvince = requireProvince;
    }

    public String getRequireProvince() 
    {
        return requireProvince;
    }
    public void setRequireCity(String requireCity) 
    {
        this.requireCity = requireCity;
    }

    public String getRequireCity() 
    {
        return requireCity;
    }
    public void setRequireDist(String requireDist) 
    {
        this.requireDist = requireDist;
    }

    public String getRequireDist() 
    {
        return requireDist;
    }
    public void setRequireDesc(String requireDesc) 
    {
        this.requireDesc = requireDesc;
    }

    public String getRequireDesc() 
    {
        return requireDesc;
    }
    public void setRequirePrice(Integer requirePrice) 
    {
        this.requirePrice = requirePrice;
    }

    public Integer getRequirePrice() 
    {
        return requirePrice;
    }
    public void setRequireTel(String requireTel) 
    {
        this.requireTel = requireTel;
    }

    public String getRequireTel() 
    {
        return requireTel;
    }
    public void setRequireChoice(String requireChoice) 
    {
        this.requireChoice = requireChoice;
    }

    public String getRequireChoice() 
    {
        return requireChoice;
    }
    public void setIsNoname(String isNoname) 
    {
        this.isNoname = isNoname;
    }

    public String getIsNoname() 
    {
        return isNoname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("requireType", getRequireType())
            .append("userId", getUserId())
            .append("requireTitle", getRequireTitle())
            .append("requireProvince", getRequireProvince())
            .append("requireCity", getRequireCity())
            .append("requireDist", getRequireDist())
            .append("requireDesc", getRequireDesc())
            .append("requirePrice", getRequirePrice())
            .append("requireTel", getRequireTel())
            .append("requireChoice", getRequireChoice())
            .append("isNoname", getIsNoname())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getRequirePic() {
        return requirePic;
    }

    public void setRequirePic(String requirePic) {
        this.requirePic = requirePic;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistName() {
        return distName;
    }

    public void setDistName(String distName) {
        this.distName = distName;
    }

    public String getRequireTypeName() {
        return requireTypeName;
    }

    public void setRequireTypeName(String requireTypeName) {
        this.requireTypeName = requireTypeName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRequireImages() {
        return requireImages;
    }

    public void setRequireImages(String requireImages) {
        this.requireImages = requireImages;
    }

    public String getRequireContent() {
        return requireContent;
    }

    public void setRequireContent(String requireContent) {
        this.requireContent = requireContent;
    }

    public Integer getClickNum() {
        return clickNum;
    }

    public void setClickNum(Integer clickNum) {
        this.clickNum = clickNum;
    }

    public String getRequireStatus() {
        return requireStatus;
    }

    public void setRequireStatus(String requireStatus) {
        this.requireStatus = requireStatus;
    }

    public String getRequireReason() {
        return requireReason;
    }

    public void setRequireReason(String requireReason) {
        this.requireReason = requireReason;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getClickPhoneNum() {
        return clickPhoneNum;
    }

    public void setClickPhoneNum(Integer clickPhoneNum) {
        this.clickPhoneNum = clickPhoneNum;
    }

    public Long getSignNum() {
        return signNum;
    }

    public void setSignNum(Long signNum) {
        this.signNum = signNum;
    }

    public String getUserPic() {
        return userPic;
    }

    public void setUserPic(String userPic) {
        this.userPic = userPic;
    }
}
